<!--用户登录-->
<ion-view title="登录" hide-back-button="true">
    <ion-nav-bar class="bar-positive nav-bar-container">
        <ion-nav-buttons side="left">
            <button class="button button-clear" ui-sref="web.user-index" nav-direction="back">
                <i class="icon ion-chevron-left" ></i> 返回
            </button>
        </ion-nav-buttons>
    </ion-nav-bar>
    <ion-content class="padding">
        <ion-list class="list-inset">

            <ion-item class="item-input">
                <input type="text" placeholder="账号" ng-model="data.name">
            </ion-item>
            <ion-item class="item-input">
                <input type="password" placeholder="密码" ng-model="data.pwd">
            </ion-item>

            <!-- <ion-item class="">            
                <label class="positive"><input type="checkbox" ng-model='data.rpwd' ng-checked='data.rpwd'>&nbsp;&nbsp;记住密码</label>             
            </ion-item>-->  
        </ion-list>
        <div class="forgetpwd">            
            <button ui-sref="user-password" class="fr stable button-clear"  nav-direction="forward">忘记密码?</button>
        </div>
        <button class="button button-full button-positive" ng-click="submit()">登录</button>
        <!-- <button class="button  button-full button-balanced ">微信登录</button> -->

        <button class="button button-block  button-full button-stable " ng-click="register()">注册</button>
    </ion-content>
</ion-view>
